package com.sql.blood.spark

import org.apache.spark.SparkConf

object App {

  def main(args: Array[String]): Unit = {
    val conf = new  SparkConf()
    // 注册spark-sql监听器
    conf.set("spark.sql.queryExecutionListeners", classOf[SparkSqlListener].getName)
  }
}
